package com.longdaji.decoration.bean;

import java.util.List;

/**
 * Created by Kanade on 2018/5/22 0022.
 */

public class MyLogistics {

    /**
     * LogisticCode : 12222
     * ShipperCode : HTKY
     * Traces : [{"AcceptStation":"已签收，签收人凭取货码签收。","AcceptTime":"2017-02-27 18:36:18"},{"AcceptStation":"快件已由成都锦江国际店菜鸟驿站代收，请及时取件，如有疑问请联系15680708523","AcceptTime":"2017-02-27 15:43:24"}]
     * State : 2
     * OrderCode : 1000000649592522
     * EBusinessID : 1326718
     * Success : true
     */

    private String LogisticCode;
    private String ShipperCode;
    private String State;
    private String OrderCode;
    private String EBusinessID;
    private boolean Success;
    private List<TracesBean> Traces;

    public String getLogisticCode() {
        return LogisticCode;
    }

    public void setLogisticCode(String LogisticCode) {
        this.LogisticCode = LogisticCode;
    }

    public String getShipperCode() {
        return ShipperCode;
    }

    public void setShipperCode(String ShipperCode) {
        this.ShipperCode = ShipperCode;
    }

    public String getState() {
        return State;
    }

    public void setState(String State) {
        this.State = State;
    }

    public String getOrderCode() {
        return OrderCode;
    }

    public void setOrderCode(String OrderCode) {
        this.OrderCode = OrderCode;
    }

    public String getEBusinessID() {
        return EBusinessID;
    }

    public void setEBusinessID(String EBusinessID) {
        this.EBusinessID = EBusinessID;
    }

    public boolean isSuccess() {
        return Success;
    }

    public void setSuccess(boolean Success) {
        this.Success = Success;
    }

    public List<TracesBean> getTraces() {
        return Traces;
    }

    public void setTraces(List<TracesBean> Traces) {
        this.Traces = Traces;
    }

    public static class TracesBean {
        /**
         * AcceptStation : 已签收，签收人凭取货码签收。
         * AcceptTime : 2017-02-27 18:36:18
         */

        private String AcceptStation;
        private String AcceptTime;

        public String getAcceptStation() {
            return AcceptStation;
        }

        public void setAcceptStation(String AcceptStation) {
            this.AcceptStation = AcceptStation;
        }

        public String getAcceptTime() {
            return AcceptTime;
        }

        public void setAcceptTime(String AcceptTime) {
            this.AcceptTime = AcceptTime;
        }

        @Override
        public String toString() {
            return "TracesBean{" +
                    "AcceptStation='" + AcceptStation + '\'' +
                    ", AcceptTime='" + AcceptTime + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MyLogistics{" +
                "LogisticCode='" + LogisticCode + '\'' +
                ", ShipperCode='" + ShipperCode + '\'' +
                ", State='" + State + '\'' +
                ", OrderCode='" + OrderCode + '\'' +
                ", EBusinessID='" + EBusinessID + '\'' +
                ", Success=" + Success +
                ", Traces=" + Traces +
                '}';
    }
}
